home *** CD-ROM | disk | FTP | other *** search
/ ETO Development Tools 4 / ETO Development Tools 4.iso / Essentials / MacApp Documentation / MacApp.TECH$ Archives / 1989 / Nov 89 / 0095-C++ destructors-Nov89 < prev    next >
Encoding:
Text File  |  1991-03-06  |  907 b   |  21 lines  |  [TEXT/GEOL]

  1. Item forwarded  by  A33          to A34
  2.  
  3. Item    4467130                         16-Nov-89        02:57
  4.  
  5. From:   D3085                           Progressive Computing, D Lucky,PRT
  6.  
  7. To:     MACAPP.TECH$                    MacApp Technical
  8.  
  9. Sub:    C++ destructors
  10.  
  11. I'm a little confused at how to use destructors with the new Pascal-based
  12. classes (e.g., MacApp classes) in C++.  Constructors appear to be pretty
  13. straightforward and I've gotten them to work for classes derived from MacApp
  14. base classes by having these functions do the same things that Imyclass methods
  15. in Object Pascal would be doing (someone please let me know if I need to be
  16. careful about these).  Destructors don't appear to be so straightforward.  At
  17. what point in the object disposal process would these functions be invoked?
  18. What is the relationship/impact with Free methods?  It be great to see just a
  19. real primitive example.
  20.  
  21.